home *** CD-ROM | disk | FTP | other *** search
/ Micro Dingo 39 / Micro_Dingo_39_CD1.mdx / Delires / Hentai / sim.swf / scripts / DefineButton2_1034 / BUTTONCONDACTION on(release, keyPress h).as
Text File  |  2002-05-21  |  538b  |  33 lines

  1. on(release, keyPress "h"){
  2.    if(countttt == 0 and cond == 0)
  3.    {
  4.       if(mood >= 150)
  5.       {
  6.          countttt += 1;
  7.          if(forest == 0)
  8.          {
  9.             forest = 1;
  10.          }
  11.          mood += 15;
  12.          gotoAndPlay(2020);
  13.       }
  14.       else
  15.       {
  16.          if(mood >= 10)
  17.          {
  18.             mood -= 15;
  19.          }
  20.          else
  21.          {
  22.             mood = 0;
  23.          }
  24.          countttt += 1;
  25.          gotoAndStop(2027);
  26.       }
  27.    }
  28.    else
  29.    {
  30.       gotoAndStop(2028);
  31.    }
  32. }
  33.